package cn.HRMS.modle;

/**
 * LeaveRecord entity. @author MyEclipse Persistence Tools
 */

public class LeaveRecord implements java.io.Serializable {

	// Fields

	private Long lrId;
	private Users users;
	private Integer lrStyle;
	private Double duration;
	private String approver;
	private String proposer;

	// Constructors

	/** default constructor */
	public LeaveRecord() {
	}

	/** minimal constructor */
	public LeaveRecord(Integer lrStyle, Double duration, String approver,
			String proposer) {
		this.lrStyle = lrStyle;
		this.duration = duration;
		this.approver = approver;
		this.proposer = proposer;
	}

	/** full constructor */
	public LeaveRecord(Users users, Integer lrStyle, Double duration,
			String approver, String proposer) {
		this.users = users;
		this.lrStyle = lrStyle;
		this.duration = duration;
		this.approver = approver;
		this.proposer = proposer;
	}

	// Property accessors

	public Long getLrId() {
		return this.lrId;
	}

	public void setLrId(Long lrId) {
		this.lrId = lrId;
	}

	public Users getUsers() {
		return this.users;
	}

	public void setUsers(Users users) {
		this.users = users;
	}

	public Integer getLrStyle() {
		return this.lrStyle;
	}

	public void setLrStyle(Integer lrStyle) {
		this.lrStyle = lrStyle;
	}

	public Double getDuration() {
		return this.duration;
	}

	public void setDuration(Double duration) {
		this.duration = duration;
	}

	public String getApprover() {
		return this.approver;
	}

	public void setApprover(String approver) {
		this.approver = approver;
	}

	public String getProposer() {
		return this.proposer;
	}

	public void setProposer(String proposer) {
		this.proposer = proposer;
	}

}